package com.zhou;

public enum Status {
    DOWNLOADED(1, "已下载"), NO_SEARCH(2, "没有检索到"), FORMAT_ERROR(3, "格式错误"), SAVE_FAIL(
            4, "保存失败");

    private final int id;
    private final String value;

    private Status(int id, String value) {
        this.id = id;
        this.value = value;
    }

    public int getId() {
        return id;
    }

    public String getValue() {
        return value;
    }
}
